<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>根据id查具体的书籍</title>
    <style>
        .content{
            width: 500px;
            height: 500px;
            margin: 0 auto;
            font-size:18px;
        }
        .message{
            margin: 0 auto;
            text-align: center;
            width: 100%;
            height: 300px;
            border: 2px solid #ccc;
            line-height: 50px;
        }
        span{
            color:red;
        }
        h1{
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="content">
        <h1><span>{{ book.id }}</span>的书籍信息</h1>
            <br>
        <div class="message">
            <h3>书名：{{ book.name }}</h3>
            <p>作者：{{ book.author }}</p>
            <p>出版时间：{{ book.pub_time }}</p>
            <p>价格：{{ book.price }}</p>
        </div>
    </div>
</body>
</html>